package src.Packets;

import src.Players.*;
import src.World.Items;
import src.Main;

public class Trade {
	private Player p;
	
	public Trade(Player _p) {
		p = _p;
	}
	
	public void requestTrade() {
		if(p == null) {
			return;
		}
		try {
			Player plr = Main.m.ge.players[p.tradePlayer];
			System.out.println(p.playerIndex+" : "+plr);
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
}